package com.example.springboottest.student.mapper;

import com.example.springboottest.student.model.Student;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.cursor.Cursor;

import java.util.List;

public interface StuMapper {
    Student findById(@Param("id") String id);

    List<Student> findAll();

    Student create(@Param("student") Student student);

    Student update(@Param("student") Student student);

    Cursor<Student> doFindUserByCrusor();
}
